package com.yic.module.device.enums.inspectionPlanDevice;

/**
 * @Description 设备检验类型枚举
 * @Author liuzhi
 * @Date 2023/12/15
 * @Version 1.0
 */
public enum InspectionTypeEnum {
    INSPECTION(1, "巡检"),
    SPOT_CHECKS(2, "点检"),
    MAINTENANCE(3, "保养");

    private Integer code;
    private String name;

    InspectionTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
